message = "Welcome to"
scrollSpeed = 80 // Setting the speed of the
  // Txt to be displayed in the status bar
lineDelay =100
txt = ""
function scrollText(pos) {
if (message.charAt(pos) != '^') {
txt = txt + message.charAt(pos)
status = txt
SP = scrollSpeed
}
else {
SP = lineDelay
txt = ""
if (pos == message.length-1) pos = -1
}
pos++
setTimeout("scrollText('"+pos+"')",SP)
}
scrollText(0)